package com.geeklan.smart.ui.dialog;

import android.content.Context;
import android.view.LayoutInflater;

import androidx.annotation.NonNull;

import com.geeklan.smart.R;
import com.geeklan.smart.databinding.DialogContentTextviewBinding;

public class LoginAlertDialog extends BaseAlertDialog<DialogContentTextviewBinding> {

    public LoginAlertDialog(@NonNull Context context, String title) {
        super(context);
        setTitle(title);
        setButtonText(context.getString(R.string.again_login));
    }

    @Override
    protected DialogContentTextviewBinding getContentViewBinding(LayoutInflater inflater) {
        return DialogContentTextviewBinding.inflate(inflater);
    }

    public void setHint(String hint){
        mBinding.edittext.setHint(hint);
    }
}
